<template>
    <div class="viewport">
        <div class="registerHead">
			<span class="rhSpan" onclick="history.go(-1);"></span>
			<p class="rhTitle">
				注册
			</p>
		</div>
        <div class="registerContent">
			<div style="border-bottom: 1px solid #dfdfdf; position: relative; height: 1.2rem;">
				<p class="registerLabel">手机号</p>
				<div class="fl rcPhone">
					<input id="phonText" placeholder="请输入手机号" type="number" class="registerPhone">
					<i class="clearRemarks"></i>
				</div>
			</div>
			<div style="border-bottom: 1px solid #dfdfdf; position: relative;  height: 1.2rem;">
				<p class="registerLabel">验证码</p>
				<div class="fl rcWorld">
					<input id="pwdText" placeholder="请输入验证码" class="registerWorld" type="text" style="ime-mode: disabled;">
					<i class="clearRemarks"></i>
				</div>
				<span id="btnSendCode" class="fr rcNum" onclick="sendMessage(btnSendCode);">获取验证码</span>
			</div>
            <div style="border-bottom: 1px solid #dfdfdf; position: relative;  height: 1.2rem;">
				<p class="registerLabel">密码</p>
				<div class="fl rcWorld">
					<input id="pwdText" placeholder="请输入密码" class="registerWorld" type="password" style="ime-mode: disabled;">
					<i class="clearRemarks"></i>
				</div>
				<span class="fr rcEye"></span>
				<span class="fr rcShowEye"></span>
			</div>
		</div>
        <div class="rfRight fr" onclick="loginByAccount();">
			<img src="@/assets/img/arrow_btn_next.png">
		</div>
        <div class="agreement">
			<label class="radioLabel"></label>
			<span>注册即同意<a href="/m/mregisterPromise">《陆陆商城用户注册协议》</a></span>
		</div>
    </div>
</template>
<script>
export default {
    name:"phoneLogin"
}
</script>
<style scoped>
.rhSpan {
    width: 0.64rem;
    height: 0.64rem;
    background: url(../../../assets/img/back_nav_white2x.png);
    display: inline-block;
    background-size: 100%;
    margin-top: 0.52rem;
    margin-left: 0.32rem;
}
.rhForget {
    float: right;
    background: none;
    width: 1.5rem;
    color: #fff;
    line-height: 0.64rem;
    font-size: 0.3rem;
}
.rhTitle {
    color: #fff;
    font-size: 0.56rem;
    margin-top: 2.4%;
    margin-left: 0.32rem;
}
.registerContent {
    border-radius: 5px 5px 0px 0px;
    background: #fff;
    padding: 0.32rem;
    margin-top: -5px;
}
.registerLabel {
    line-height: 0.48rem;
    font-size: 0.28rem;
    color: #000;
    letter-spacing: 0.52px;
    margin: 2.4% 0;
}
.rcPhone {
    position: relative;
    width: 100%;
}
.registerPhone {
    height: 0.48rem;
    width: 100%;
    font-size: 0.26rem;
}
.rcWorld {
    position: relative;
    width: 70%;
}

.registerWorld{
    font-size: 0.26rem;
}
.rcNum {
    display: inline-block;
    width: 1.86rem;
    height: 0.48rem;
    background: #CB2F42;
    color: #fff;
    text-align: center;
    font-size: 0.26rem;
    line-height: 0.48rem;
    border-radius: 0.24rem;    
    margin-top: -0.4rem;
}
.rfRight {
    width: 1.12rem;
    height: 1.12rem;
    background: #CB2F42;
    border-radius: 0.56rem;
    text-align: center;
    line-height: 1.0rem;
    margin-right: 0.32rem;
    margin-top: 0.5rem;
    float: right;
}
.rfRight img {
    width: 0.64rem;
    height: 0.64rem;
    display: inline-block;    
    margin-top: 0.2rem;
}
.rcEye {
    background: url(../../../assets/img/ic_password_hide2x.png);
    background-size: 100%;
}
.registerWorld{
    font-size: 0.26rem;
}
.rcEye, .rcShowEye {
    width: 0.88rem;
    height: 0.88rem;
    margin-top: -.7rem;
}
.rcShowEye {
    display: none;
    background: url(../../../assets/img/ic_password_show@2x.png);
    background-size: 100%;
}
.agreement {
    position: fixed;
    bottom: 0.2rem;
    left: 22%;
    padding-top: .5rem;
    color: #999;
    text-align: center;
}
.radioLabel {
    display: inline-block;
    width: .36rem;
    height: .36rem;
    border: 1px solid #999;
    border-radius: 50%;
    vertical-align: -20%;
}
.agreement span{
    font-size: .24rem;
}
.agreement a {
    color: #CB2F42;
    font-size: 0.24rem;
}
</style>
